﻿namespace AutoMock.Scenarios.Customer
{
    public class CustomerUpdaterWithConstructorDependendOnMock
    {
        private readonly string _address;

        public CustomerUpdaterWithConstructorDependendOnMock(
            ICustomerDataProvider customerData
            )
        {
            _address = customerData.GetCustomer(1).Address;
        }

        public string ReturnAddress()
        {
            return _address;
        }
    }
}